//
//  BViewController.swift
//  customNavigationBarBackButton
//
//  Created by 李煜 on 2024/1/18.
//

import UIKit

class BViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        title = "B"
        view.backgroundColor = .white
    }
    override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
        self.navigationController?.pushViewController(CViewController(), animated: true)
    }
}
